package com.atguigu.jxc.dao;


import com.atguigu.jxc.to.SaleCountTo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.atguigu.jxc.entity.SaleListGoods;
import java.util.List;
import java.util.Map;

/**
 * @ClassName:SaleListGoodsDao
 * @Version: 1.0
 * @CreateAt:2021/3/8 19:51
 * @Author: ✨HanSan·胡✨
 * @Description:
 */
@Mapper
public interface SaleListGoodsDao {

    List<Map> getSaleDataByDay(@Param("sTime") String sTime, @Param("eTime") String eTime);


    void save(@Param("saleListGoods") SaleListGoods saleListGoods);

    List<SaleListGoods> goodsListBySaleListId(@Param("saleListId") Integer saleListId);

    void deleteBySaleListId(@Param("saleListId") Integer saleListId);

     List<Map> count(SaleCountTo saleCountTo);


   
}
